#region History

/* --------------------------------------------------------------------------------
 * Client Name: Bd Market Ltd.
 * Project Name: BdMarket
 * Module: App.Web.ViewModels 
 * Name: StoreLedger.cs
 * Purpose: ViewModel class for Store Ledger
 *                   
 * Author: Md. Hassanur Rahman
 * Language: C# SDK Version 4.0
 * --------------------------------------------------------------------------------
 * Change History:
 * Version: 1.0    MHR  01/21/2012
 * Description: Initial Development
 * -------------------------------------------------------------------------------- */

#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;


namespace App.Web.ViewModels
{
    [Serializable]
	public class StoreLedgerViewModel : BaseViewModel
	{	
        /// <summary>
		/// Gets or sets the ID
		/// </summary>
        public int ID { get; set;}
        [Required(ErrorMessage= "Please Select a Product ID")] 
        [Display(Name = "Product I D")] 
        public int ProductID { get; set;}
            
        [Required(ErrorMessage= "Please Enter a Receive Date")]
        [Display(Name = "Receive Date")] 
		public String ReceiveDate	{ get; set; }
            
        [Display(Name = "Expire Date")] 
		public String ExpireDate	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a O B Quantity")]
        [Display(Name = "O B Quantity")] 
		public String OBQuantity	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a O B Rate")]
        [Display(Name = "O B Rate")] 
		public String OBRate	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a O B Total")]
        [Display(Name = "O B Total")] 
		public String OBTotal	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a Receive Quantity")]
        [Display(Name = "Receive Quantity")] 
		public String ReceiveQuantity	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a Receive Rate")]
        [Display(Name = "Receive Rate")] 
		public String ReceiveRate	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a Receive Total")]
        [Display(Name = "Receive Total")] 
		public String ReceiveTotal	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a Issue Quantity")]
        [Display(Name = "Issue Quantity")] 
		public String IssueQuantity	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a Issue Rate")]
        [Display(Name = "Issue Rate")] 
		public String IssueRate	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a Issue Total")]
        [Display(Name = "Issue Total")] 
		public String IssueTotal	{ get; set; }

        [Required(ErrorMessage= "Please Select a Transaction Detail")]
        [Display(Name = "Transaction Detail ID")]
        public int TransactionDetailID { get; set; }

        [Display(Name = "Transaction Date")]
        public String TransactionDate { get; set; }
            
        [Display(Name = "Base Uom No")] 
		public String BaseUomNo	{ get; set; }

        [Required(ErrorMessage= "Please Select a Transaction")]
        [Display(Name = "Transaction ID")] 
        public int TransactionID { get; set;}
            
        [Required(ErrorMessage= "Please Enter a Created On")]
        [Display(Name = "Created On")] 
		public String CreatedOn	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a Createb By")]
        [Display(Name = "Createb By")] 
		public String CreatebBy	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a Modified On")]
        [Display(Name = "Modified On")] 
		public String ModifiedOn	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a Modified By")]
        [Display(Name = "Modified By")] 
		public String ModifiedBy	{ get; set; }
	}
}

